/*********************************************************************************
Organization 					: 				Georgia Institute of Technology
  
Institute 						:				Cognitive Computing Group(CCL)
 
Authors							: 				Manish Mehta 
 												
Class							:				KillData
 
Function						: 				A class for holding the kill data 
												for a unit being killed
****************************************************************************/

package behavioradaptation.analysisdata;

import base.WargusUnit;


public class KillData {
		// Trace Index for when the unit was killed
		private int m_traceIndex;
		// Unit that was killed
		private WargusUnit m_unitKilled;
		// Cycle at which the unit was killed
		private int m_killedAtCycle;
		// Cycle at which the attack on the unit started
		private int m_attackStartCycle;
		public KillData(int a_traceIndex, WargusUnit a_unitKilled, int  a_killCycle, int a_attackStartCycle)
		{
			this.m_traceIndex = a_traceIndex;
			this.m_unitKilled = a_unitKilled;
			this.m_killedAtCycle = a_killCycle;
			this.m_attackStartCycle = a_attackStartCycle;
		}
		/*
		 * Helper Getter and Setter functions 
		 */
		public int getIndex()
		{
			return m_traceIndex;
		}
		public WargusUnit getUnit()
		{
			return m_unitKilled;
		}
		public void setIndex(int a_traceIndex)
		{
			m_traceIndex = a_traceIndex;
		}
		public void setUnit(WargusUnit a_unitKilled)
		{
			m_unitKilled = a_unitKilled;
		}
		public int getKillCycle()
		{
			return m_killedAtCycle;
		}
		public void setKillCycle(int a_killedAtCycle)
		{
			this.m_killedAtCycle = a_killedAtCycle;
		}
		public int getAttackStartCycle()
		{
			return m_attackStartCycle;
		}
		public void setAttackStartCycle(int a_attackStartCycle)
		{
			this.m_killedAtCycle = a_attackStartCycle;
		}
}
